{% extends 'layout_two_column.html' %}

{% block js_files %}
{% endblock %}

{% block subheader %}
{% endblock subheader %}

{% block content_left %}

{% ifequal current_page "SEARCH" %}
<div class="map_hint">
To change the search location, please enter a zip code or city/state.
</div>
{% endifequal %}

  {% include 'map_widget.html' %}

  <div id='when_filter_widget'></div>
{% endblock content_left %}

{% block content_right %}
  <div id='snippets_pane'></div>
{% endblock content_right %}

{% block prefooter %}
  {% if optimize_page %}
  <script type='text/javascript' src='http://www.gmodules.com/ig/proxy?url=http%3A%2F%2Fsuprfetch.appspot.com%2F%3Furl%3D{{host}}%2Fzx{{version}}%2Fjs%2Fsnippets_list.js%26url%3D{{host}}%2Fzx{{version}}%2Fjs%2Fmap.js%26url%3D{{host}}%2Fzx{{version}}%2Fjs%2Fsearch_results.js%26url%3D{{host}}%2Fzx{{version}}%2Fjs%2Fcalendar_widget.js%26jsmin%3Dtrue'></script>
{% else %}
  <script type='text/javascript' src='/zx{{version}}/js/snippets_list.js'></script>
  <script type='text/javascript' src='/zx{{version}}/js/map.js'></script>
  <script type='text/javascript' src='/zx{{version}}/js/search_results.js'></script>
  <script type='text/javascript' src='/zx{{version}}/js/calendar_widget.js'></script>
  {% endif %}
{% endblock prefooter %}
